<?xml version="1.0" encoding="UTF-8"?>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface rendersChildren="true" transient="true">
	<composite:attribute name="pageData" type="com.songqintuan.common.bean.Page"/>
	<composite:attribute name="pageNoAction" method-signature="java.lang.String action()"/>
	<composite:attribute name="prePageNoId" type="java.lang.String"/>
	<composite:attribute name="prePageNoLabel" type="java.lang.String"/>
	<composite:attribute name="renderId" type="java.lang.String"/>
	<composite:attribute name="nextPageNoId" type="java.lang.String"/>
	<composite:attribute name="nextPageNoLabel" type="java.lang.String"/>
	<composite:attribute name="id" type="java.lang.String"/>
</composite:interface>
<composite:implementation>
<a4j:region id="himeself">
	<div class="m clearfix" style="#{empty cc.attrs.pageData.result?'display:none':'height:auto' } ">
		
		<div class="searchPager">
			<ul class="pager">
				<li class="totalnumber"><span class="number">(#{cc.attrs.pageData.totalCount })</span>第#{cc.attrs.pageData.currentPageNo}/共#{cc.attrs.pageData.totalPageCount }</li>
				<li><a4j:commandLink id="#{cc.attrs.prePageNoId}" action="#{cc.attrs.pageNoAction}" value="&lt;" rendered="#{cc.attrs.pageData.hasPreviousPage}" event="click" execute="@this" render="#{cc.attrs.renderId } himeself" escape="false"><f:param name="pageNo" value="#{cc.attrs.pageData.currentPageNo - 1}"></f:param></a4j:commandLink></li>
				<a4j:repeat value="#{cc.attrs.pageData.pageNos}" var="pageNo">
					<li>
						<a4j:commandLink action="#{cc.attrs.pageNoAction}" value="#{pageNo}" rendered="#{ pageNo ne '...' }" styleClass="#{(pageNo eq cc.attrs.pageData.currentPageNo)?'current':''}" event="click" execute="@this" render="#{cc.attrs.renderId } himeself"><f:param name="pageNo" value="#{pageNo}"></f:param></a4j:commandLink>
						<span class="text" style="#{(pageNo eq '...')?'':'display:none' }">…</span>
					</li>
				</a4j:repeat>
				<li><a4j:commandLink id="#{cc.attrs.nextPageNoId }" action="#{cc.attrs.pageNoAction}" value="&gt;" rendered="#{cc.attrs.pageData.hasNextPage }" event="click" execute="@this" render="#{cc.attrs.renderId} himeself" escape="false"><f:param name="pageNo" value="#{cc.attrs.pageData.currentPageNo + 1}"></f:param></a4j:commandLink></li>
			</ul>
		</div>
	</div>
	<div class="clear clearfix"></div>
</a4j:region>
</composite:implementation>

</html>
